package com.syas.model.models;

import com.syas.base.model.interfaces.ICUDEable;
import com.syas.base.model.models.EnableEntity;

/**
 * Created by weigong on 2015/11/28.
 */
public class RoleAuthority extends EnableEntity<Integer> implements ICUDEable {

    // Fields
    private Role role;
    private Authority authority;

    public RoleAuthority() {
    }

    public RoleAuthority(Role role, Authority authority) {
        this.role = role;
        this.authority = authority;
    }

    public Role getRole() {
        return role;
    }

    public Authority getAuthority() {
        return authority;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public void setAuthority(Authority authority) {
        this.authority = authority;
    }
}
